package com.study.spring4;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class User {

    @Autowired
    private UserDao userDao;

    public void showUser(){

        System.out.println("========"+userDao);
    }

}
